package dao;

import java.util.List;
import entity.Topic;

/**
 * Created by miaoyu on 2017/7/12.
 */
public interface TopicDao {
    public int addTopic(Topic topic);
    public int deleteTopic(String topicName);
    public Topic queryTopicByName(String topicName);
    public List queryAllTopic();
    public List queryAllPosts(int topicID);
}
